Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Add a callback to allow modules to deny 3PID (#11854) #124

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

babolivier
Copy link
Contributor

@babolivier babolivier commented Feb 8, 2022

Port of matrix-org/synapse#11854

Note to ops:

This change removes the now useless check_is_for_allowed_local_3pids configuration flag. This feature is now replaced by this module: https://github.com/matrix-org/synapse-3pid-checker. The url setting in the module's configuration must be https://[identity_server]/_matrix/identity/api/v1/internal-info.

Part of the Tchap Synapse mainlining.

This allows modules to implement extra logic to figure out whether a given 3PID can be added to the local homeserver. In the Tchap use case, this will allow a Synapse module to interface with the custom endpoint /internal_info.
@babolivier babolivier requested a review from a team as a code owner February 8, 2022 17:12
@babolivier babolivier removed the request for review from a team February 8, 2022 17:13
@babolivier babolivier merged commit f20caae into dinsic Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant